XD-1678 XD reconnects to jobstore if conn is lost

Added Connection pool settings to application.yml to support testOnBorrow.