Added optional timeout in seconds