[1009695] On agent shutdown an error is reported re: poller with PollerKey
Don't try to unregister the poller shutdown if the threadpool is shutdown.

(cherry picked from commit 4d2ec5e773ff94879d11a7e2fb2e395220b2183e)
Signed-off-by: Jay Shaughnessy <jshaughn@redhat.com>