Reducing time in port monitoring