fixed pool leakage in server