reset pool and socket