Add IRC server link check and retry after timeout
Fix for #430