Add synchronize_port implementation

I added a ```synchronize_port``` implementation that wraps the base
class implementation and adds some extra logging to help track down
spurious, possible race-condition errors.