Add timeout parameter to curlPost.
Add api functions for maintenance routes.