Allow the possibility to detach the slave from the EC2 instance by setting the instance Id to null from a groovy script