Define the Sleep (sec) Function
Sleep function suspends execution of this process for sec number of seconds. While this function is used in our example for consistency, other functions might actually be used to poll for incoming requests at a finer granularity in a server application.