Handled the -P 13 case. At the end of toke thread cancelled srvr thread if Q2 is empty