Update ser.py

Implementing ThreadPoolExecutor approach in uploading images