Clears recv_buf when no packet arrives