Close job functionality complete