I have commented out internals of entire function that contains apc_sma_info() request and everything seems to be working fine :)