Fixed #10 use periodic check for "ready" state instead of "submit" event