Remove redundant shutdown check (handled properly by the pool), and unnecessary assignment to null in the case where pool is already null.