Wait with no timeout. Fixes #712