Add SendTimeout, OpenTimeout, CloseTimout in client and server config and see if it helps. Please check this Microsoft Learn page for the explanation of these timeout values.