Fixed mutexes not actaully being locked in UART.cpp