fix LEAK_DEBUG
Merge pull request #30 from baranowb/FIX_LEAK_DEBUG

fix LEAK_DEBUG
Prevent rejected execution exceptions when the endpoint was closed during protocol handling
Do not use executor during close because it might be gone