S2io: Check for device state before handling traffic