Changed reconnect time to 30s for freenode
Check connection periodically and issue reconnect if not possible