Added wait function for when we don't care about the output.