Lifting the lockdown: when is it safe to do so?