[NGRINDER-710] Add the port availability check