fix ts uart pm

1e44b025e3edd43c4fcc93dac901938ffe525101 intruduced a bug where the ts uart could not be closed correctly.
this led to an issue with power consumption and reopening the uart on wake from sleep which caused ts_srv to restart resulting in an input lag of 1-3secs.

also bring back logging but don't include uart_fd retval to keep mentioned commit's functionality.