Remove shudown hook from the OServer.