added disk write queue check in server.py related #26