Fix socket pool drain