correctly handle async bind in netserver