implement app restart in deployment loop