Fix race condition error

`Thread.new` execute the passed code block immediately. When the code block
run before `#initExecBlock`, `@exec_time - now`(L154) will throw NoMethodError
because `@exec_time` is `nil`.
Merge pull request #1 from kozy4324/fix-race-condition-error

Fix race condition error