Refactor that seems to work, more conservative
Organize everything in sub-packages
missing call to reconnected in reconnectPolicy()
Added stop to service tests, and move the onDeliveryResult
implementation to a separate thread to avoid that code being executed in
a daemon thread