updating the way require is configured to avoid race conditions, and removing the module load timeout