cpp: Exit TNonBlockingServer on memmory allocation failure setrlimit causes bad_alloc exceptions, but undefined behavior occurs if we don't exit. It is not typical for libraries to call exit, but it is not clear what other behavior is possible.