The reason wait API does not work :/