Don't call a sp function from inside a thread

(psychonic) you can't call sp from in a thread