Add synchronized block around method re-definitions
Merge pull request #7 from johnthethird/master

Threading issue when redefining find_by_session_id