Introduced timeouts to API create/delete actions

- Introduced 500ms timeout between receiving successful response from
 create/delete actions and when the state change happens. Potential fix for
 #175.