Background Jobs: Common Pitfalls and How to Avoid Them