Fix django
Wait process to stop.