Remove server hook