You may not need a timer to open another socket. You can use the sockclose event to open a new one, along with the use of

.sockwrite -n $sockname Connection: close

Then:

on 1:SOCKCLOSE:myb:{
sockopen myb http://www.erepublik.com 80
....