Added drainTimeout option when shutting down the client gracefully