close persistent connections before forking
Merge pull request #2698 from bundler/ssl_safe_fork

close persistent connections before forking