Added xrun handling