catch quit signal
ignore container which was attached
Revert "ignore container which was attached"

This reverts commit 8a89a607c748a47afc4ad449a1548dc2d188bfe8.
lock attach process
Revert "lock attach process"

This reverts commit 65e09b394ab147284e69babb4f01ce3722155448.