Fixed quit.

Had to stop other thread.