Added a signal to release waiting UART write threads