exitFunction in std::runtime

WARNING: This function is experimental and may change or be removed.

Exit the program early.