I'm guessing this is here to give the IRC server a chance to handle the requests we've sent. This is pretty imprecise and brittle, though, it'd be much better to actually parse the server responses to confirm things have worked as we expect.