diff --git a/lib/EventManagement.php b/lib/EventManagement.php
index 431ef763abab750c9deda71a2860a6545a2c60af..13106e54ed10dfa4b34e432fb7e5a29df07e0bb8 100644
--- a/lib/EventManagement.php
+++ b/lib/EventManagement.php
@@ -195,10 +195,11 @@ class EventManagement{
 	 * @param string $certFile path to certificate file to use or null to call URL without certificate
 	 * @param string $certKey path to certificate key file, null to avoid usage of key
 	 * @param string $certPassphrase path to passphrase file for key file, null for no passphrase
+	 * @param int $timeout time out in seconds until curl call is aborted
 	 * 
 	 * @return boolean true on success, false on error
 	 */
-	public function sendEventObject($eventObject, $baseURL='http://localhost/myapps/EventsAPI/rest/events', $certFile = null, $certKey = null, $certPassphrase = null){
+	public function sendEventObject($eventObject, $baseURL='http://localhost/myapps/EventsAPI/rest/events', $certFile = null, $certKey = null, $certPassphrase = null, $timeout = null){
 		date_default_timezone_set ( 'Europe/Amsterdam' );
 		$apiClient = new \jards\eventsapiclient\Swagger\Client\ApiClient ();
 		$apiClient->getConfig ()->setHost ( $baseURL );
@@ -212,6 +213,9 @@ class EventManagement{
 		if(! empty($certPassphrase)){
 			$apiClient->getConfig ()->setCertificatePassphrase($certPassphrase);
 		}
+		if(! empty($timeout)){
+			$apiClient->getConfig()->setCurlConnectTimeout($timeout);
+		}
 		
 		$eventsApi = new EventsApi($apiClient);