keep thread pool open until all pending requests are done

If a pending request is Rejected after close() has been
called it is re-scheduled. This re-scheduling fails if the
threadPool has been shutdown.