Ensure that the path to the socket is cleaned up when detaching

Currently the path to the socket was only cleaned up on exit
Merge pull request #28 from quirkey/always_cleanup_socket_path

Ensure that the path to the socket is cleaned up when detaching