Made node exit with status 1 on attempts exceeded