locking for SmpManager

Conflicts:
	pytds/smp.py