Ensure pool is properly closed in onDown (JAVA-417).