wait before checking port