do the scheduler on_exit_method before killing the redis server, in case it needs to log any messages - we will not see them, but at least the method will not hang