Wait syncronously