Fixed silly wait method.