fix for continuation.resume() blowing up when already resumed