improve startup grace period