Add timeout to jAPIHandler