Optimize locks, handle invalid ltc responses