Added connection-closing and basic performance tests (#7).