Python Apply Async Error Handling