Implement background fetch.