Add disconect fn
Disconnect Client
Added ability to close server