modify bossan_test.rb to support ruby 2.0
add close(listen_sock) to bossan_run_loop