Does stuck mean web ui is not loading or stuck in unknown state?
If not, then its something else, otherwise you need to set STTRACE=sync and STDEADLOCKTIMEOUT=300 which will cause it to crash and print out stacktraces when it fails to get the lock in 5 minutes, which is what i am after.