handle condition when program terminated by Ctrl+C
remove handler for SIGTERM SIGINT in MockServer
add CORS support
add compile task