UART driver breaks on each restart