Fixed SIGTERM issue in mission planners