add counting of connections to avoid reconnect problem when callbacks are invoked in different order (fix #7)
Merge pull request #13 from ros/connection_counting

add counting of connections to avoid reconnect problem when callbacks are invoked in different order (fix #7)