fix(store): kill gateway in case of timeouts