testing for shark server failure
remove deprecated use of spawn