Possible reasons for error code -8

Aerospike actually has its own policy that lets the application developer configure the different timeouts. The following article should help understand some of those details: Understanding Timeout and Retry policies.