Changed logging in AbstractWait. Fixes #526