Making options hash optional in execute and send_query
Replacing send_query with executeAndWait, then removing polling loop