raise exception when nn_bind failed