Yes, that must be one of the practical problem of arbitrage trading. Price gaps may fade away in quick time or will fall into narrow range which may not cover the trading and withdraw fees. Probably we may utilize such gap for one time and these gaps may not available for subsequent tries.
But we may still keep money on Bitstamp, whereas bitcoins - on CEX.IO, so that to buy and sell bitcoins simultaneously.