It is now possible to specifiy a timeout for the underlying java process.