Made BlockingPoll class IDisposable.