JDBCConnectionPool timeout

Hi there,
I’m using JDBCConnectionPool and I’d like to set a timeout for getting connections. Is it possible?