Wait for reset, closes #18