Fix wait method

Samuel GAIST requested to merge 30_fix_wait_method into master

This patch fixes the wait method of both the loop and database executor.

It now won't error if the method is called while their process method was not.

Fixes #30 (closed)

Merge request reports