Are you sure that you're on a background thread in this code?