pool: fix Close