Fixed cannot quit problem.

Killed spinOnce method which may cause other problems.