Updated mutex disposing.

Updated the SSH testing control.