Kickr mutex for thread safety

Ensure the member variables are only maintained in
one thread at a time.