Removes Listener method that returns socket