Add mutex on ttp

Merged Ghost User requested to merge 411_ttp_mutex into master

Prevent the problems due to concurrent access to the ttp

Merge request reports