stm: Goes into weird state at shutdown when the module is already suspended
To reproduce:
- open gnss-share's socket
- send
$PSTMGPSSUSPEND
to the module behind gnss-share's back - close gnss-share's socket
Expected result: gnss-share closes its FD and the module powers off.
Observed result: gnss-share goes into some weird state where it keeps its FD open indefinitely.