Allow custom timeout definition