throwing errors off of pool manager tasks, refactoring