flush inputs after sleep timer

fixes #28