FIX indent + check that bossPool != null before to call shutdown() on it