Added browser capture timeout handling.