trap sigterm and sigkill for graceful container stop