SidToSub sid is now a varchar20 instead of an int
initial complete implementation
if the scheduler is ec2, create a new watcher to periodically call terminate_old_instances()