Adds example for closing connections
Automatically rewritten for npm.