Handle Long or Integer topology timeout

It looks like storm 0.8.2 uses a Long for the topology timeout, even if it's set to an Integer initially, so using a Number works for both.