Fixed server reveiver thread.