[rilmodem] proper idle/timer handling cf

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>