Now continues to run until exit is sent from the client -Andrew