fix all races in simple pool tests