Add destroy_message method to sql adapter
Do not use sql related stuff outside of the adapter
Add offline message handling to the adapter connection