Avoid applog in recalloc_sock.