polling: close the pending poll request when closing transport
Merge pull request #291 from lpinca/close/pending-request

polling: close the pending poll request when closing transport