Added cleanup code when server is disconnected

- Check if channel start with both # and & and add them to the queue