Fix unnecessary goroutine creation

Fixes https://github.com/hybridgroup/gobot/issues/148