change the cwd to main script dir
Merge branch 'master' of https://github.com/NetEase/pomelo-admin
fix monitorAgent reconnect type bugs