Cleanup socket_spec.rb