Removing stay alive function