Fixed #261: create connection to one endpoint on drop

When dropping a new connection insersecting two endpoints, the connection is always visible on the second one, but internally two connections will be created. By adding " && jpc.pending" we ensure that we only create one new connection to the first endpoint.
Merge pull request #264 from tikri/1.7.0

Fixed #261: create connection to one endpoint on drop