Fixed issue #114 and #135

Is it safe to call this repeatedly?  It should be.  You probably want to bail `if(syncInterval)`