Changed the way vpcs closes by using the socket to send quit message instead of pid kill