Check if OUT port is attached when IN disconnects

L25 implies that OUT is not required to be attached to use the counter component. The disconnect did not previously check if OUT was attached before trying to disconnect causing an exception if OUT was not attached.
Check if OUT port is attached when IN disconnects

L25 implies that OUT is not required to be attached to use the counter component. The disconnect did not previously check if OUT was attached before trying to disconnect causing an exception if OUT was not attached.
Merge pull request #5 from johlrich/patch-1

Check if OUT port is attached when IN disconnects