fix callback being called to early on `wait: true` - fixes #1
1.0.1