Leftover, make sure to save the check_same_thread value in the object for use in connect().
Merge pull request #1 from petterreinholdtsen/handle-multithread

Handle multithread