Pauses the application for the specified time.
If an error occurs it returns false otherwise it returns true.