Disconnect from server and Fix path for items in current directory