fix termination of all instances
add timeout process for devstack