fix not to call Fluent::Engine.stop 2 or more times, for process group killed situation on foreground
fix to mark shutting down situation before actual shutdown
Merge pull request #133 from tagomoris/signal_handle_for_foreground

Signal handle for foreground