should call the on_close block
fix ruby warning in tcp_spec
should not override the on_close callback
update gitignore