Make duration an optional parameter when applying a Future

Applying the value is not the most common way to work with Futures but sometimes just tempting easy :) At least in test code it is ok to just let exceptions bubble up. Still, awaiting for the Future indefinitely is rarely a good idea. I left it as a default to not break code which may depend on that behaviour.