Support asynchronous grab for long exposure times

Fixes #305. @MarcusZuber I guess this will be interesting for you when merged.