[PATCH] netprofm: set *ret=NULL if no more connections