use freePort after reject