fix: clear cache at the start of a new connection and sending init
commands