1. A computer-implemented method, comprising: receiving from a client device a cloud code module at a cloud platform device; associating the cloud code module with at least one function call and one or more timeout values; monitoring an execution of the cloud code module associated with the function call in a sandbox; and cancelling the execution of the cloud code module when a time taken to execute the cloud code module exceeds at least one of the timeout values.