Support buffering timeout on android