A slow computer or internet connection can make patching take a long time. Closing background programs and using a stable connection may help. Once the patch finishes, you should be able to connect to the server if your client is fully updated.