Added Disconnect Feature to MRD Server

-Added the ability to disconnect from the server without it complaining.
-Added and cleaned up the listener script