Fixed bug when deployment times out