Avoid entering event loop when require()'d