Use hosting APIs directly and quit on ctrl + c