Add locks back for port operations. 

Neutron has a bug where DB ops have errors when accessed parallel. 
https://bugs.launchpad.net/neutron/+bug/1381536