API change: change setkeepalive to gotopool