I think sessionId should be set to KV in every command you recieve from coordinator. please, take care that when new command will be added to Kernel - it will also set sessionId to KV