implementing a retry logic creating snapshots
fix: quit instead of close cleans temporary firefox profile