Shutdown underlying socket on close()
Fix composer.json