fixed go-wait when not specifying timeout