CLOUDSTACK-6065: Fix NPE problem caused by the lack of context setup in threads from agent manager thread pool