Fix messages not received after inactivity