catch conn timeout inside select()