Merge Container and State mutexes

Resolved all deadlocks and fixed race between kill and
monitor.resetContainer
Fixes #7600

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7775 from LK4D4/merge_state_lock

Merge Container and State mutexes