[IMP] Clean pool._store_function