Fixed App_Callback() to be interrupt safe for asynchronous TX/RX streams.