Handle closed client connections