Fix timeout notification and timer

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>