Fix a problem closed action does not work in Windows #21