net: handle 'finish' event only after 'connect'