fix process exiting in es-source