only send in open sockets, adding close method
Merge pull request #2 from ubergrape/master

only send in open sockets, adding close method