Your connection to an IRC server can be disconnected for many different reasons, ranging from the server itself experiencing issues to your internet provider closing the connection because they think it looks suspicious. Some users experience server disconnections often while other users experience them rarely. If you find yourself being disconnected from an IRC server often, you could try connecting to a different IRC server on the same IRC network to see if that helps.