Add a hook to disable keepalive checks in subslaves