Add wait_for_release/1 with default timeout
Remove timeout in replicate helper function in proper test,
the replicate issue in the proper test should be fixed in another
way