Check if operations are ready before setting state to executing

Fixes GH-38. Thanks @udibr