fix bug in ofconnectionmanager

Reviewer: @rlane