Replace `catch call` with `try catch`.
Add timeouts to tests to make them fail instead
of hang.