Presence of available contacts should be changed to offline when connection is closed
Description
When connection is abruptly closed or normally closed we need to simulate that an unavailable presence was received from the server for the contacts that were available at the moment of the disconnection