Handle restart once deployed