[rilmodem] proper idle/timer handling ril

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