Merge "Fix bug in PAN code where no new PAN connections can be made."