Workaround for suspend/hibernate